package com.ivr.cm.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 过滤数据VO
 * @author liugeng
 * @date 2015-12-15
 * @version 1.0
 */
public class ConfigFilterVo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private int id;				//过滤配置表ID
	private int num;			//限量比例，采用百分比的形式
	private String sp_number;	//业务号码长号码
	private String province;	//省份
	private String start_time;	//开始时间
	private String end_time;	//结束时间
	private int status;			//当前配置的状态  0 无效 1 有效
	private List<Integer> thres_hold = new ArrayList<Integer>(); //扣量的随机数列表
	private int thres_index; 	//扣量的序列
	private Date add_date;		//配置日期
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getSp_number() {
		return sp_number;
	}
	public void setSp_number(String sp_number) {
		this.sp_number = sp_number;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getStart_time() {
		return start_time;
	}
	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}
	public String getEnd_time() {
		return end_time;
	}
	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getAdd_date() {
		return add_date;
	}
	public void setAdd_date(Date add_date) {
		this.add_date = add_date;
	}
	public int getThres_index() {
		return thres_index;
	}
	public void setThres_index(int thres_index) {
		this.thres_index = thres_index % 100;
	}
	public List<Integer> getThres_hold() {
		
		return this.thres_hold;
	}
	public void setThres_hold(List<Integer> thres_hold) {
		this.thres_hold = thres_hold;
	}

}
